
<div class="twidth">
<div id="position"><a href="/index.aspx">首页</a>&nbsp;&gt;&nbsp;景区首页</div>
  <div id="middle" class="clear">
    <div class="w500 right"> 
      <!--推荐线路，热门线路，最新线路-->
      <div class="mbox">
        <div class="titcon">
          <li class="On" onmouseover="tab(this,0,0)">
            <h2>推荐线路</h2>
          </li>
          <li class="Off" onmouseover="tab(this,1,0)">
            <h2>热门线路</h2>
          </li>
          <li class="Off" onmouseover="tab(this,2,0)">
            <h2>最新线路</h2>
          </li>
        </div>
        <div class="cont">
          <div id="etrip_0">
            <ul class="imgtrip clear">
<?php		
			$curren_art_id="";$i=0;
			foreach ($commend_lines as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=1){
					 $trav_title=mb_substr($item->trav_title,0,9);
?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->trav_title?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $trav_title?>"><?php echo $trav_title?></a></em><span>￥<?php echo $item->price_per?></span><p><?php echo mb_substr(strip_tags($item->line_info),0,165);?>...</p></li>           
<?php		 }}?>  			
			</ul>
			<ul class="tripsum">
<?php				
			$curren_art_id="";$i=0;
			foreach ($commend_lines as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i>1){
					 $trav_title=mb_substr($item->trav_title,0,20);
?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->trav_title?>"><?php echo $trav_title?></a><span>¥<?php echo $item->price_per;?></span></li>
<?php		 }}?>			
			</ul>
          </div>
          <div id="etrip_1" style="display:none"> 
            <ul class="imgtrip clear">
			<?php		
			$curren_art_id="";$i=0;
			foreach ($HotLineList as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=1){
					 $trav_title=mb_substr($item->trav_title,0,9);
			?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->trav_title?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $trav_title?>"><?php echo $trav_title?></a></em><span>￥<?php echo $item->price_per?></span><p><?php echo mb_substr(strip_tags($item->line_info),0,165);?>...</p></li>           
			<?php }}?>  			
			</ul>
			<ul class="tripsum">
			<?php				
			$curren_art_id="";$i=0;
			foreach ($HotLineList as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i>1){
					 $trav_title=mb_substr($item->trav_title,0,20);
			?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->trav_title?>"><?php echo $trav_title?></a><span>¥<?php echo $item->price_per;?></span></li>
			<?php }}?>			
			</ul>
          </div>
          <div id="etrip_2" style="display:none">
            <ul class="imgtrip clear">
			<?php		
			$curren_art_id="";$i=0;
			foreach ($LastLineList as $item){//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="/templates/img/nopic.jpg";}
				if($i<=1){
					 $trav_title=mb_substr($item->trav_title,0,9);
			?>                  
              <li><a href="<?php echo $links;?>"><img src="<?php echo $pics;?>" alt="<?php echo $item->trav_title?>" /></a><em><a href="<?php echo $links;?>" title="<?php echo $trav_title?>"><?php echo $trav_title?></a></em><span>￥<?php echo $item->price_per?></span><p><?php echo mb_substr(strip_tags($item->line_info),0,165);?>...</p></li>           
			<?php }}?>  			
			</ul>
			<ul class="tripsum">
			<?php				
			$curren_art_id="";$i=0;
			foreach ($LastLineList as $item)
			{//推荐文章
				$pics="";$links="";$i++;
				$pics=$this->platform->file_url($item->folder.'/'.$item->name.'.'.$item->type);
				$links=site_url()."/main/line_show/".$item->id;			
				if(!$pics){$pics="templates/img/nopic.jpg";}
				if($i>1){
					 $trav_title=mb_substr($item->trav_title,0,20);
			?>              
              <li><a href="<?php echo $links;?>" title="<?php echo $item->trav_title?>"><?php echo $trav_title?></a><span>¥<?php echo $item->price_per;?></span></li>
			<?php }}?>			
			</ul>
          </div>
        </div>
        <div class="bot">
          <div class="in"></div>
        </div>
      </div>
      <!--/推荐线路，热门线路，最新线路--> 
    </div>
    <div class="w470 left">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="470" height="270">
          <param name="movie" value="/sildes/bcastr.swf?bcastr_xml_url=<?php echo site_url('/main/flashXml_v');?>">
          <param name="quality" value="high">
          <param name=scale value=noscale>
          <param name="LOOP" value="false">
          <param name="menu" value="false">
          <param name="wmode" value="transparent">
          <embed src="bcastr.swf?bcastr_xml_url=<?php echo site_url('/main/flashXml_v');?>" width="470" height="270" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
        </object>
    </div>
    <div class="blank10"></div>
    <div class="w720 left">
	<?php $i=0;
		$ArrClass=array('bendiindex','guoneiindex','guojiindex','zhutiindex');
		foreach($indexpage_lines as $item=>$value){			//分类循环
	?>	 	
      <div class="mbox topicindex">
        <div class="titcon"><h2><?php echo $lineclass['classname'][$item];?></h2></div>
        <div class="cont">
          <ul class="imglist clear">
		<?php 
			//print_r($indexpage_lines[$item]);
			foreach($indexpage_lines[$item] as $key=>$value){
				$pics="";
				$pics=$this->platform->file_url($indexpage_lines[$item][$key]->folder.'/'.$indexpage_lines[$item][$key]->name.'.'.$indexpage_lines[$item][$key]->type);		
				if(!$pics){$pics="templates/img/nopic.jpg";}
				$links=site_url()."/main/line_show/".$indexpage_lines[$item][$key]->id;	
				$trav_title=mb_substr($indexpage_lines[$item][$key]->trav_title,0,17);
		?>		  
         	<li><a href="<?php echo $links;?>" title="<?php echo $trav_title;?>"><img src="<?php echo $pics;?>" alt="<?php echo $trav_title;?>"><?php echo $trav_title;?></a></li>
		<?php 	} ?>    
          </ul>
        </div>
		
        <div class="bot"><div class="in"></div></div>
      </div>
	<?php $i++; }?>	  
      <div class="blank10"></div>
    </div>
    <div class="w250 right"> 
      <!--旅游攻略-->
    <?php if(!empty($IndexGuide[1])){ //判断数组是否为空?>   
      <div class="gbox">
        <div class="titcon">
          <h2><?php echo $tagsclass["classname"][$IndexGuide["id"][1]]?></h2>
        </div>
        <div class="cont">
          <ul class="nl">
		<?php 
            $slist=$IndexGuide[1][$IndexGuide["id"][1]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
          </ul>
        </div>
        <div class="bot"><div class="in"></div></div>
      </div>
    <?php } //判断数组是否为空?>    
      <!--/旅游攻略-->
      <div class="blank10"></div>
      <!--旅游常识-->
    <?php if(!empty($IndexGuide[2])){ //判断数组是否为空?>   
      <div class="lbox">
        <div class="titcon">
          <h2><?php echo $tagsclass["classname"][$IndexGuide["id"][2]]?></h2>
        </div>
        <div class="cont">
          <ul class="nl">
		<?php 
            $slist=$IndexGuide[2][$IndexGuide["id"][2]];
			foreach($slist as $item){
        ?>        
          <li><a href="<?php echo site_url("/strategy/singeStrategy/".$item->id."");?>" title="<?php echo $item->strategy_title;?>"><?php echo mb_substr($item->strategy_title,0,11);?></a></li>
		 <?php }?> 
          </ul>
        </div>
        <div class="bot"><div class="in"></div></div>
      </div>
    <?php } //判断数组是否为空?>          
      <!--/旅游常识--> 
      
    </div>
  </div>

  <dl id="footguide">
<dt>旅游网站</dt>
<dd><li>价格实惠<br>支付方便</li>
<li>强强联手<br>优质服务</li>
<li>全球品牌<br>安全保证</li>
<li>全天客服<br>实时在线</li>
<li>流程简单<br>操作方便</li></dd>
</dl>
</div>
<div id="footer">
  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>
  <div class="copy"><p>
	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br>
	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br>
	Copyright © XXXX公司 &nbsp; ICP备000000号</p></div>
</div>
<div id="bodybg"></div>
<!--[if IE 6]>
<script src="/js/DD_belatedPNG.js"></script>
<script>
  DD_belatedPNG.fix('img,.png');
</script>
<![endif]-->



</body></html>